package stendcontrol;

import java.io.Serializable;

public abstract class AbstractMessage implements Serializable {

    
    public static int MSG_CMD = 0;
    public static int MSG_MSEQ = 1;
    public static int MSG_STS = 2;
    
    /**
     * Operation
     *
     * @return byte
     */
    public byte getMsgID() {
        return 0;
    }

    /**
     * Operation
     *
     * @return AbstractMessage
     */
    public AbstractMessage prevMsg() {
        return null;
    }

    /**
     * Operation
     *
     * @return AbstractMessage
     */
    public AbstractMessage nextMsg() {
        return null;
    }
    
    public abstract int getTypeMsg();
}
